# +----------------------------------------------------------------------
# | Pink [ A modern python web framework ]
# +----------------------------------------------------------------------
# | Copyright (c) 2023 http:#unnnnn.com All rights reserved.
# +----------------------------------------------------------------------
# | Author: chenjianhua <unnnnn@foxmail.com>
# +----------------------------------------------------------------------

class CanBroadcast:
    def broadcast_on(self):
        return None

    def broadcast_with(self):
        return vars(self)

    def broadcast_as(self):
        return self.__class__.__name__
